package com.stars.common.valid;

import lombok.Data;

/**
 * @author :dj
 * @version : 1.0.0
 * @description
 * @Date 2019-10-14 10:47
 * @note 我的异常处理
 */
@Data
public class MyException extends RuntimeException {

    private String code;
    public MyException(String message) {
        super(message);
    }
    public MyException(String code, String message) {
        super(message);
        this.code = code;
    }
}
